<template>
  <view class="setting" id="setting">
    <AtInput
      clear
      name='password'
      title='旧密码'
      type='password'
      placeholder='密码不能少于10位数'
      :value="newPassword"
    />
    <AtInput
      clear
      name='password'
      title='新密码'
      type='password'
      placeholder='密码不能少于10位数'
      :value="newPassword"
    />
    <AtInput
      clear
      name='password'
      title='确认密码'
      type='password'
      placeholder='密码不能少于10位数'
      :value="newPassword"
    />
  </view>
</template>

<script setup>
import { ref } from 'vue'
import {updateOneselfUserPassword} from '../../http/api'
import Taro from '@tarojs/taro'
import './setting.less'

const newPassword = ref('')
Taro.setNavigationBarColor({
    frontColor: '#000000',
    backgroundColor: '#C0EDED'
})
</script>
